import type { RouteRecordRaw } from "vue-router";
const dashboard: RouteRecordRaw[] = [
  {
    path: "/dashboard",
    meta:{
      permissions:["view_dashboard"],
      title:"首页"
    },
    component: () => import("@/layout/index.vue"),
    children: [
      {
        path: "",
        name: "Dashboard",   // 空路径展示默认子路由这种方式可以把名字放在这里
        component: () => import("@/views/dashboard/index.vue"),
      },
    ],
  },
];
export default dashboard;
